package edu.sctu.nieyu.day20150506.studentmessage;

/**
 * Created by user01 on 2015/5/6.
 */
public class StudentOne extends Student{

    @Override
    public void setName() {

        name = "Jim";

    }

    @Override
    public void setCard() {

        card = 1;

    }

    @Override
    public void setSex() {

        sex = "man";

    }

    public void getInfo(Interface interf){interf.setInfomation(name,card,sex);}
}
